﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel
{
    public class Ingredient
    {
        public string IngredientName { get; set; }
        public string Unit { get; set; }
        public double Dosage { get; set; }
        public int Id { get; set; }

        public Ingredient(string ingredientName, string unit, double dosage, int id)
        {
            this.IngredientName = ingredientName;
            this.Unit = unit;
            this.Dosage = dosage;
            this.Id = id;
        }

        public Ingredient(string ingredientName, string unit, double dosage)
        {
            this.IngredientName = ingredientName;
            this.Unit = unit;
            this.Dosage = dosage;
            this.Id = 0;
        }

        public Ingredient() : this("", "", 0.0,0) { }
    }
}
